package com.datas.beans;

import lombok.Getter;
import lombok.Setter;

/**
 * Created by jige0727 on 2017/5/30.
 */
@Getter
@Setter
public class PageResourceApiItem {
    private String rese_name = "";
    private String rese_uri = "";//唯一标示符 页面地址或者按钮地址
    private String rese_type = ""; //元素类型 1页面 2按钮
    private Integer sort_order = -1; //排序号
    private Integer parent_rese_id = -1; //上级的id 根节点则为 null
    private String parent_rese_name = ""; //上级的名称
    private String struct = ""; //结构 每个节点的id拼一起 -隔开

    public PageResourceApiItem(String rese_name, String rese_uri, String rese_type, Integer sort_order, Integer parent_rese_id, String parent_rese_name, String struct) {
        this.rese_name = rese_name;
        this.rese_uri = rese_uri;
        this.rese_type = rese_type;
        this.sort_order = sort_order;
        this.parent_rese_id = parent_rese_id;
        this.parent_rese_name = parent_rese_name;
        this.struct = struct;
    }
}
